package com.ytz.mysecurity.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ytz.mysecurity.domain.Permission;
import com.ytz.mysecurity.domain.Users;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 12/23  12:11
 */
@Mapper
public interface UserMapper extends BaseMapper<Users> {
    List<Permission> findPermissionByUsername(String username);
}
